package cn.edu.scau.cmi.wujiaxian.exercise4;

import java.util.Arrays;

public class Example4_7 {
	public static void main(String[] args) {
		char a[] = { 'a', 'b', 'c', 'd' };
		for (int n = 0; n < a.length; n++) {
			System.out.print(a[n] + " ");
		}
		System.out.println();
		for (char ch : a) {
			System.out.print(ch + " ");
		}
		System.out.println();
		System.out.println(Arrays.toString(a));
	}
}
